package org.jeecg.modules.shop.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.shop.entity.Discount;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="a_company查询对象", description="公司表")
public class QueryCompany {
    /**主键*/
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**首页宣传图*/
    @Excel(name = "首页宣传图", width = 15)
    @ApiModelProperty(value = "首页宣传图")
    private String homeShow;
    /**公司展示图*/
    @Excel(name = "公司展示图", width = 15)
    @ApiModelProperty(value = "公司展示图")
    private String companyShow;
    /**产品展示图*/
    @Excel(name = "产品展示图", width = 15)
    @ApiModelProperty(value = "产品展示图")
    private String productShow;
    /**宣传图*/
    @Excel(name = "宣传图", width = 15)
    @ApiModelProperty(value = "宣传图")
    private String promotionalShow;
    /**名字*/
    @Excel(name = "名字", width = 15)
    @ApiModelProperty(value = "名字")
    private String name;
    /**最低价格*/
    @Excel(name = "最低价格", width = 15)
    @ApiModelProperty(value = "最低价格")
    private java.math.BigDecimal minPrice;
    /**最高价格*/
    @Excel(name = "最高价格", width = 15)
    @ApiModelProperty(value = "最高价格")
    private java.math.BigDecimal maxPrice;
    /**评分*/
    @Excel(name = "评分", width = 15)
    @ApiModelProperty(value = "评分")
    private java.math.BigDecimal score;
    /**省市区*/
    @Excel(name = "省市区", width = 15)
    @ApiModelProperty(value = "省市区")
    private String province;
    /**省市区中文名*/
    @Excel(name = "省市区中文名", width = 15)
    @ApiModelProperty(value = "省市区中文名")
    private String provinceStr;
    /**详细地址*/
    @Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
    /**精度*/
    @Excel(name = "精度", width = 15)
    @ApiModelProperty(value = "精度")
    private String longitude;
    /**维度*/
    @Excel(name = "维度", width = 15)
    @ApiModelProperty(value = "维度")
    private String latitude;
    /**手机号*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**分类id*/
    @Excel(name = "分类id", width = 15, dictTable = "a_catalog", dicText = "name", dicCode = "id")
    @Dict(dictTable = "a_catalog", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "分类id")
    private Integer catelogId;
    /**分类名称*/
    @Excel(name = "分类名称", width = 15)
    @ApiModelProperty(value = "分类名称")
    private String catelogName;
    /**内容*/
    @Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private String content;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    @ApiModelProperty(value = "优惠表")
    private List<Discount> discountList;
}
